clear
set more off

local path0="C:\Dropbox\GeneticsProject (1)\REStat\round_accepted_replication_files\"

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

insheet using "`path0'Data\Schwartz\cult value orientation scores.txt", names clear

label var harmony "Schwartz: harmony: fitting into the social and natural world, no change/direct/exploit"
label var embedded "Schwartz: Embeddedness: people are viewed as entities embedded in the collectivity"
label var hierarchy "Schwartz: Hierarchy: rely on hierarchical systems of ascribed roles to insure responsible"
label var mastery "Schwartz: Mastery: encourage active self-assertion in order to master"
label var affauton "Schwartz: Affective autonomy:   individuals to pursue affectively positive experience for themselves"
label var intelauton "Schwartz: Intellectual autonomy: individuals to pursue their own ideas and intellectual directions independently"
label var egalitar "Schwartz: Egalitarianism: induce people to recognize one another as moral equals who share basic interests as human beings"


foreach var in harmony embedded hierarchy mastery affauton intelauton egalitar {
	rename `var' sch_`var'
}
	
drop if country=="israel arab"
drop if country=="germany e"
	
drop country

compress
save "`path0'Workfiles\Schwartz_data.dta", replace

